package com.lk.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: likun
 * @date: 2021/12/21 上午9:53
 * @description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result<T> {

    private Integer status;

    private Integer code;

    private String msg;

    private T data;


    public Result(Integer code, String message) {
        this.code = code;
        this.msg = message;
    }
}
